package com.suneee.refund.entity;

import java.io.Serializable;
import java.sql.Timestamp;

import com.suneee.orm.annotation.Column;
import com.suneee.orm.annotation.Entity;
import com.suneee.orm.annotation.GeneratedValue;
import com.suneee.orm.annotation.GenerationType;
import com.suneee.orm.annotation.Id;
import com.suneee.orm.annotation.Table;

@Entity
@Table(name = "t_refund_comment")
public class RefundComment implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3105632346909091376L;

	/**
	 * 留言编号
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name="comment_id",nullable=false)
	private Integer commentId;
	
	/**
	 * 退款单号
	 */
	@Column(name="refund_id",nullable=false)
	private String refundId;
	
	/**
	 * 留言者编号
	 */
	@Column(name="owner_id")
	private Integer ownerId;
	
	/**
	 * 留言者昵称
	 */
	@Column(name="owner_nick")
	private String ownerNick;
	
	/**
	 * 留言内容
	 */
	@Column(name="content")
	private String content;
	
	/**
	 * 凭证附件地址(json串)
	 */
	@Column(name="pic_urls")
	private String picUrls;
	
	/**
	 * 留言创建时间
	 */
	@Column(name="created")
	private Timestamp created;
	
	/**
	 * 退款类型
	 */
	@Column(name="message_type")
	private String messageType;
	
	/**
	 * 退款阶段
	 */
	@Column(name="refund_phase")
	private String refundPhase;
	
	/**
	 * 留言者身份
	 */
	@Column(name="owner_role")
	private String ownerRole;
	
	/**
	 * 记录生成时间
	 */
	@Column(name="created_at")
	private Timestamp createdAt;
	
	/**
	 * 记录更新时间
	 */
	@Column(name="updated_at")
	private Timestamp updatedAt;

	public Integer getCommentId() {
		return commentId;
	}

	public void setCommentId(Integer commentId) {
		this.commentId = commentId;
	}

	public String getRefundId() {
		return refundId;
	}

	public void setRefundId(String refundId) {
		this.refundId = refundId;
	}

	public Integer getOwnerId() {
		return ownerId;
	}

	public void setOwnerId(Integer ownerId) {
		this.ownerId = ownerId;
	}

	public String getOwnerNick() {
		return ownerNick;
	}

	public void setOwnerNick(String ownerNick) {
		this.ownerNick = ownerNick;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getPicUrls() {
		return picUrls;
	}

	public void setPicUrls(String picUrls) {
		this.picUrls = picUrls;
	}

	public Timestamp getCreated() {
		return created;
	}

	public void setCreated(Timestamp created) {
		this.created = created;
	}

	public String getMessageType() {
		return messageType;
	}

	public void setMessageType(String messageType) {
		this.messageType = messageType;
	}

	public String getRefundPhase() {
		return refundPhase;
	}

	public void setRefundPhase(String refundPhase) {
		this.refundPhase = refundPhase;
	}

	public String getOwnerRole() {
		return ownerRole;
	}

	public void setOwnerRole(String ownerRole) {
		this.ownerRole = ownerRole;
	}

	public Timestamp getCreatedAt() {
		return createdAt;
	}

	public void setCreatedAt(Timestamp createdAt) {
		this.createdAt = createdAt;
	}

	public Timestamp getUpdatedAt() {
		return updatedAt;
	}

	public void setUpdatedAt(Timestamp updatedAt) {
		this.updatedAt = updatedAt;
	}
	
}
